home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
E-G
/
Externals.cpt
/
Externals
/
card_8480.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
1KB
|
52 lines
-- card: 8480 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2795
-- name: Sort
-- part 1 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=316 top=307 right=329 bottom=380
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Demo
----- HyperTalk script -----
on mouseUp
visual effect iris open
go to card id 10483
end mouseUp
-- part contents for background part 1
----- text -----
XFCN
-- part contents for background part 22
----- text -----
Sort(card field "fieldName")
-- part contents for background part 13
----- text -----
Sort - sorts the contents of a container by lines and puts it into another container (or into
itself).
This routine is not public domain. If you use it in your own stacks, you must send in a $10 license fee to:
Boojum Computer Systems, Inc.
15004 Donna Drive
Silver Spring, Md 20904
Copyright 1987 Boojum Computer Systems, Inc. All Right Reserved
on mouseUp
put Sort(card field "textIn") into card field "textOut"
end mouseUp
--"textOut" and "textIn" can be the same container